//
//  DCUpdateTool.h
//  DCProject
//
//  Created by bigbing on 2019/3/31.
//  Copyright © 2019 bigbing. All rights reserved.
//

#import <Foundation/Foundation.h>


NS_ASSUME_NONNULL_BEGIN

@interface DCUpdateTool : NSObject


///  单列
+ (DCUpdateTool *) shareClient;


///  检测是否需要更新
- (BOOL)dc_isUpdateWithVersion:(NSString *)version onlineVer:(NSString *)onlineVer;


///  必须强制更新提示
- (void)dc_showMustUpdateTipWithUrl:(NSString *)url;


///  非强制更新提示，可取消
- (void)dc_showUpdateTipWithUrl:(NSString *)url;

@end

NS_ASSUME_NONNULL_END
